package cn.com.idmy.auth;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(fluent = true)
@EqualsAndHashCode(of = "username")
public class Credential<T> {
    protected long accountType;
    protected String username;
    protected String password;
    protected String captcha;
    protected String token;
    protected Device device;
    protected T data;
}